package com.ucenter.server.user.service;

import java.util.List;

import org.springframework.stereotype.Component;

import com.system.comm.model.KvEntity;
import com.system.handle.model.ResponseFrame;
import com.ucenter.server.user.pojo.Website;

/**
 * website的Service
 * @author autoCode
 * @date 2018-02-06 15:18:19
 * @version V1.0.0
 */
@Component
public interface WebsiteService {
	
	/**
	 * 保存或修改
	 * @param website
	 * @return
	 */
	public ResponseFrame saveOrUpdate(Website website);
	
	/**
	 * 根据websiteId获取对象
	 * @param websiteId
	 * @return
	 */
	public Website get(String websiteId);

	/**
	 * 分页获取对象
	 * @param website
	 * @return
	 */
	public ResponseFrame pageQuery(Website website);
	
	/**
	 * 根据websiteId删除对象
	 * @param websiteId
	 * @return
	 */
	public ResponseFrame delete(String websiteId);

	public List<Website> findUse();
	/**
	 * 根据站点编号获取名称
	 * @param websiteId
	 * @return
	 */
	public String getName(String websiteId);

	public List<KvEntity> findKvUse();
}